import request from '@/utils/request'

// 获取关于我数据
export function getSetting() {
  return request({
    url: '/api/setting',
    method: 'get',
  })
}

// 设置关于我数据
export function updateSetting(data) {
  return request({
    url: '/api/setting',
    method: 'put',
    data,
  })
}